package com.lhsy.djcloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wangzw
 * @since 2020-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dj_employee")
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer tenantId;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 姓名
     */
    private String empName;

    /**
     * 编码
     */
    private String empCode;

    /**
     * 性别 1=男 2=女
     */
    private Integer sex;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 工作时间
     */
    private Date workTime;

    /**
     * 入党时间
     */
    private Date partyTime;

    /**
     * 籍贯
     */
    private String nativePlace;

    /**
     * 户口
     */
    private String registeredPlace;

    /**
     * 地址
     */
    private String address;

    /**
     * 部门id
     */
    private Integer deptId;

    /**
     * 状态 1=启用 0=停用
     */
    private Boolean status;
    /**
     *
     */
    private Boolean djg;
    /**
     *
     */
    private Boolean dzb;
    /**
     *
     */
    private Boolean dxz;

    /**
     * 密码
     */
    private String password;

    private Date createTime;

    private String createName;

    private Date updateTime;

    private String updateName;
    @TableField(exist = false)
    private String deptName;


}
